//
//  HXDShopIntroTableView.m
//  qingDaoCircleOfLife
//
//  Created by huxuedong on 15/11/27.
//  Copyright © 2015年 huxuedong. All rights reserved.
//

#import "HXDShopIntroTableViewCell.h"

@interface HXDShopIntroTableViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *shopTitleLabel;
@property (weak, nonatomic) IBOutlet UILabel *addressLabel;
@property (weak, nonatomic) IBOutlet UILabel *phoneLabel;

@end

@implementation HXDShopIntroTableViewCell

+ (instancetype)shopIntroTableViewCell {
    return [[NSBundle mainBundle] loadNibNamed:@"HXDShopIntroTableViewCell" owner:nil options:nil].lastObject;
}

- (void)setGoodsIntro:(HXDGoodsIntroModel *)goodsIntro {
    _goodsIntro = goodsIntro;
    self.shopTitleLabel.text = goodsIntro.shop_name;
    self.addressLabel.text = goodsIntro.address;
    self.phoneLabel.text = goodsIntro.phone;
}

@end
